package com.ruoyi.service.account.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.service.account.entity.CompanyAccountEntity;
import com.ruoyi.service.company.entity.CompanyEntity;
import java.math.BigDecimal;

/**
 * <p>
 * 公司账户 服务类
 * </p>
 *
 * @author Zane
 * @since 2025-10-19
 */
public interface CompanyAccountService extends IService<CompanyAccountEntity> {

  CompanyAccountEntity getByComId(Long companyId);

  void buildCompanyAccount(CompanyEntity company);

  BigDecimal getBalance();

  BigDecimal getLockedAmount();
}
